package dl.jf.common.constants;

public class Constants {

	public static final int RECORD_TYPE1_CODE_ID = 1;

	public static final int RECORD_TYPE2_CODE_ID = 2;

	public static final int RECORD_PRIVACY_CODE_ID = 3;

	public static final int USER_ROLE_CODE_ID = 4;

	public static final int CARD_OR_CASH_CODE_ID = 5;

	public static final Integer RECORD_NUMBER_CODE = 6;

	public static final String RECORD_NUMBER_PREFIX = "RE";

	public static final int RECORD_NUMBER_LENGTH = 8;
	
	public static final String LOGIN_SUCCESS = "LOGIN_SUCCESS";
	
	
	/**
	 * authority path
	 */
	public static final String ADMIN_AUTHORITY_PATH = "admin";
	
	public static final int ADMIN_ROLE_ID = 0;
	
	
	//global mapping
	public static final String ACTION_RESULT_CREATE = "create";
	public static final String ACTION_RESULT_SUBMIT_DONE = "submit_done";
	public static final String ACTION_RESULT_NO_ADMIN_PERMISSION = "noAdminPermit";
	public static final String ACTION_RESULT_TO_LOGIN = "login";
	public static final String ACTION_RESULT_SUCCESS = "success";
	public static final String ACTION_RESULT_ERROR = "error";
	
}
